// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.asset;

import zombie.util.StringUtils;

public final class AssetPath {
    protected String m_path;

    public AssetPath(String path) {
        this.m_path = path;
    }

    public boolean isValid() {
        return !StringUtils.isNullOrEmpty(this.m_path);
    }

    public int getHash() {
        return this.m_path.hashCode();
    }

    public String getPath() {
        return this.m_path;
    }

    public String toString() {
        return this.getClass().getSimpleName() + "{ \"" + this.getPath() + "\" }";
    }
}
